﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Survey.Model.EntriesEntities;

namespace Survey.Model.SurveyEntities
{
    public class SurveyEntity
    {
        public virtual Guid Id { get; private set; }
        public virtual string Name { get; set; }
        public virtual int CurrentStep { get; set; }
        public virtual DateTime Date { get; set; }
        public virtual School School { get; set; }
        public virtual LearningMaterial LearningMaterial { get; set; }
        public virtual GlobalSurvey GlobalSurvey { get; set; }

        private IList<Questionary> _questionary = new List<Questionary>();
        public virtual IList<Questionary> Questionary
        { 
            get { return _questionary;} 
            set { _questionary = value;}            
        } 
    }
}
